<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>sprite</title>
    <style>

        @import "bae.css";

        div.icon {
            background-image: url(sprite.jpg);
        }

        div.icon {
            height: 50px;
            width: 50px;
            border: 1px solid gray;
        }

    </style>
</head>
<body>
    <img src="sprite.jpg" alt=""/>
    <div class="icon"></div>
    <div class="icon1"></div>
    <div class="icon2"></div>
    <div class="icon3"></div>
</body>
</html>